import request from "@/utils/request";

// 查询商品评价列表
export function listMallSpu(query) {
  return request({
    url: "/mall/spuOrderReply/list",
    method: "get",
    params: query,
  });
}

//回复评价
export function replyComment(data) {
  return request({
    url: "/mall/spuOrderReply/comment",
    method: "post",
    data,
  });
}


// 删除评价
export function delReply(id) {
  return request({
    url: "/mall/spuOrderReply/delete/" + id,
    method: "get",
  });
}
